<script setup>
// import BasicSyntax from './components/BasicSyntax.vue';
import BasicSyntax from './components/BasicSyntax.vue'
import InfoCollect from './components/InfoCollect.vue';
import CompositionApi from './components/CompositionApi.vue';
import Login from './components/Login.vue';

import LocalComDemo from './components/LocalComDemo.vue';
// 引入父组件
import ParentCom from './components/ParentCom.vue';
import SlotCom from './components/SlotCom.vue';
import SlotName from './components/SlotName.vue';
import SlotFather from './components/SlotFather.vue';
import LoginImp from './components/LoginImp.vue';
</script>

<template>
  <ul>
    <li>
      <router-link to="/home">Home</router-link>
    </li>
    <li>
      <router-link to="/about">About</router-link>
    </li>
    <li>
      <router-link to="/user">UserCenter</router-link>
    </li>
    <li>
      <router-link to="/element">Element</router-link>
    </li>
  </ul>

  <!-- 路由容器 -->
  <router-view></router-view>

</template>
